package pack0629.com;

public class Teacher extends Person{
    public void sing(){
        System.out.println(name+"在唱歌");
    }
    public Teacher(){
        this.name="张无忌";
    }

    public Teacher(String name){
        this.name=name;
    }
}
